package org.springsource.dao;

import java.util.List;

import org.springsource.domain.Account;
import org.springsource.domain.AccountNotFoundException;

public interface AccountDao {
	Account getAccount(Long number) throws AccountNotFoundException;

	List<Account> getAccounts();

	void saveOrUpdate(Account account);

	void delete(Account account);
}
